<?php
class Relationship extends AppModel
{
	public $name = 'Relationship';
	public $belongsTo = array(
		'Term' => array(
			'className' => 'Term',
			'foreignKey' => 'term_id'
			),
		);

	public $validate = array(
		'name' => array(
			'required' => array(
				'rule' => 'notEmpty',
				'message' => 'Your name is required',
				),
			),

		);

}
?>